﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kelper.Domain.Models;

namespace Kelper.Domain.Data.Abstract
{
    public interface IRecipeRepository
    {
        IQueryable<Recipe> Recipes { get; }
        bool Save(Recipe recipe);
        bool Remove(int id);

        IEnumerable<RecipeSearchResult> Search(List<string> ingredients);
        IEnumerable<RecipeSearchResult> Search(string query);
    }
}
